<template>
    <div class="mylog">
        <div v-for="item in 3" class="listitem">
            <div class="tts">
                上饶师范学院音乐楼闲置的三十台钢琴转让拍卖公告
            </div>
            <div class="tags">
                <div class="tag">
                    <el-tag style="margin-right: 10px;">招标分类</el-tag>
                    <el-tag type="danger">139万元</el-tag>
                </div>
                <p>2023-07-12</p>
            </div>
        </div>
    </div>
</template>


<script setup>
/**
 * 组件引入
 */
import {onMounted, reactive, ref, computed} from 'vue'
import http from "../../api/api.js"
import msg from "../../utils/Message.js"
import Footer from "../../components/Footer.vue"
import Header from "../../components/Header.vue"
import Cookies from "js-cookie";

/**
 * 全局变量
 * @type {UnwrapNestedRefs<{count: string, list: *[]}>}
 */

const activeIndex = ref(0)

// 全局数据
var navlist = ref([

    {
        title: "个人主页",
        url: "/myinfo",
    }, {
        title: "我要投标",
        url: "/myinfo",
    }

])


/**
 * 页面挂载后
 */
onMounted(() => {
    isLogin()
});

/**
 * 计算属性
 */

/**
 * 方法区
 */


// 是否登录
const isLogin = () => {
    const token = Cookies.get("token")
    if (!token) {
        msg.message("您未登录，请登录", 'error')
    }
}

</script>

<style lang="scss" scoped>
@import '../../assets/scss/index.scss';
</style>

